package com.tedu.weibo.mapper;

import com.tedu.weibo.pojo.entity.Weibo;
import com.tedu.weibo.pojo.vo.WeiboDetailVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface WeiboMapper {
    int insertWeibo(Weibo weibo);

    List<WeiboDetailVO> findIndex();

    WeiboDetailVO findById(Integer id);
}
